<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Icarous: /home/research133/Software/Icarous2/cFS/apps/SBN/fsw/platform_inc/sbn_interfaces.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Icarous
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_c1698e121239b1aba7f6e782e4514e49.html">cFS</a></li><li class="navelem"><a class="el" href="dir_7ee4ce95da95d11e80a01c5101ed8d14.html">apps</a></li><li class="navelem"><a class="el" href="dir_ae2fc4977a0e23c0ce15dc1827c136ad.html">SBN</a></li><li class="navelem"><a class="el" href="dir_e819abd219528ad66dc3d14d7a96e6e4.html">fsw</a></li><li class="navelem"><a class="el" href="dir_f4a154d10948ceddc6abd5711dc8a4df.html">platform_inc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">sbn_interfaces.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef _sbn_interfaces_h_</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define _sbn_interfaces_h_</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;cfe.h&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;sbn_constants.h&quot;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;sbn_msg.h&quot;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">** Other Structures</span></div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">*/</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">/* used in local and peer subscription tables */</span></div><div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="structSBN__Subs__t.html">   13</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;  uint32            InUseCtr;</div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;  CFE_SB_MsgId_t    MsgID;</div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;  CFE_SB_Qos_t      QoS;</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;} <a class="code" href="structSBN__Subs__t.html">SBN_Subs_t</a>;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="keyword">typedef</span> uint16 SBN_MsgSz_t;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="keyword">typedef</span> uint8 SBN_MsgType_t;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">typedef</span> uint32 SBN_CpuID_t;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#define SBN_PACKED_HDR_SZ (2 + 1 + 4)</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment"> * SBN_PACKED_HDR_SZ + uint16 SubCnt + CFE_SB_MsgId_t Subs[SubCnt]</span></div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="preprocessor">#define SBN_PACKED_SUB_SZ (SBN_PACKED_HDR_SZ + 2 + sizeof(CFE_SB_MsgId_t) * SBN_MAX_SUBS_PER_PEER)</span></div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#define SBN_MAX_PACKED_MSG_SZ (SBN_PACKED_HDR_SZ + CFE_SB_MAX_SB_MSG_SIZE)</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="keywordtype">void</span> SBN_PackMsg(<span class="keywordtype">void</span> *SBNMsgBuf, SBN_MsgSz_t MsgSz,</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    SBN_MsgType_t MsgType, SBN_CpuID_t CpuID, <span class="keywordtype">void</span> *Msg);</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="keywordtype">boolean</span> SBN_UnpackMsg(<span class="keywordtype">void</span> *SBNBuf, SBN_MsgSz_t *MsgSzPtr,</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    SBN_MsgType_t *MsgTypePtr, SBN_CpuID_t *CpuIDPtr, <span class="keywordtype">void</span> *Msg);</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structSBN__IfOps__s.html">SBN_IfOps_s</a> SBN_IfOps_t;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structSBN__NetInterface__s.html">SBN_NetInterface_s</a> SBN_NetInterface_t;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="structSBN__PeerInterface__t.html">   75</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span>{</div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="structSBN__PeerInterface__t.html#a5b1f8e3f53c59cd24347779b62c0e8e8">   77</a></span>&#160;    uint32 <a class="code" href="structSBN__PeerInterface__t.html#a5b1f8e3f53c59cd24347779b62c0e8e8">ProcessorID</a>;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div><div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="structSBN__PeerInterface__t.html#a8c03ea6acda26a0d8b8a3e8dd3467d8c">   80</a></span>&#160;    uint32 <a class="code" href="structSBN__PeerInterface__t.html#a8c03ea6acda26a0d8b8a3e8dd3467d8c">SpacecraftID</a>;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="structSBN__PeerInterface__t.html#af6f8ae7e1240137ca46e5c6a792639c2">   83</a></span>&#160;    SBN_NetInterface_t *<a class="code" href="structSBN__PeerInterface__t.html#af6f8ae7e1240137ca46e5c6a792639c2">Net</a>;</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="preprocessor">    #ifdef SBN_SEND_TASK</span></div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="structSBN__PeerInterface__t.html#a2212f5f66c97f44a95d1b9d7bc9f6485">   91</a></span>&#160;    uint32 <a class="code" href="structSBN__PeerInterface__t.html#a2212f5f66c97f44a95d1b9d7bc9f6485">SendTaskID</a>;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;<span class="preprocessor">    #endif </span><span class="comment">/* SBN_SEND_TASK */</span><span class="preprocessor"></span></div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;<span class="preprocessor">    #ifdef SBN_RECV_TASK</span></div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="structSBN__PeerInterface__t.html#abd6331dad5bc0adb4df64e0418cc96d7">  101</a></span>&#160;    uint32 <a class="code" href="structSBN__PeerInterface__t.html#abd6331dad5bc0adb4df64e0418cc96d7">RecvTaskID</a>; <span class="comment">/* for mesh nets */</span></div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="preprocessor">    #endif </span><span class="comment">/* SBN_RECV_TASK */</span><span class="preprocessor"></span></div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="structSBN__PeerInterface__t.html#a4bdc506f968e6e75e0b41091729b61ff">  106</a></span>&#160;    CFE_SB_PipeId_t <a class="code" href="structSBN__PeerInterface__t.html#a4bdc506f968e6e75e0b41091729b61ff">Pipe</a>;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <span class="comment">/* TODO: do I need this? */</span></div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="structSBN__PeerInterface__t.html#a5535a7a81a8a81fe93a0b4c722f3205c">  110</a></span>&#160;    <span class="keywordtype">char</span> PipeName[OS_MAX_API_NAME];</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;    <span class="comment">/* TODO: do I need this? */</span></div><div class="line"><a name="l00117"></a><span class="lineno"><a class="line" href="structSBN__PeerInterface__t.html#a68a04851d1bcf4c402217b178321f23c">  117</a></span>&#160;    <a class="code" href="structSBN__Subs__t.html">SBN_Subs_t</a> Subs[SBN_MAX_SUBS_PER_PEER + 1];</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;    OS_time_t LastSend, LastRecv;</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;    uint16 SendCnt, RecvCnt, SendErrCnt, RecvErrCnt, SubCnt;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="structSBN__PeerInterface__t.html#a0b4895a7af09ab45e90fd5fa65eef30f">  122</a></span>&#160;    uint8 <a class="code" href="structSBN__PeerInterface__t.html#a0b4895a7af09ab45e90fd5fa65eef30f">Connected</a>; </div><div class="line"><a name="l00125"></a><span class="lineno"><a class="line" href="structSBN__PeerInterface__t.html#a8e198674d5dd1176e09758135c412a12">  125</a></span>&#160;    uint8 ModulePvt[128];</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;} <a class="code" href="structSBN__PeerInterface__t.html">SBN_PeerInterface_t</a>;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="keywordtype">void</span> SBN_SendLocalSubsToPeer(<a class="code" href="structSBN__PeerInterface__t.html">SBN_PeerInterface_t</a> *Peer);</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<a class="code" href="structSBN__PeerInterface__t.html">SBN_PeerInterface_t</a> *SBN_GetPeer(SBN_NetInterface_t *Net, uint32 ProcessorID);</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div><div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="structSBN__NetInterface__s.html">  146</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structSBN__NetInterface__s.html">SBN_NetInterface_s</a> {</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;    <span class="keywordtype">boolean</span> Configured;</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    uint8 ProtocolID;</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<span class="preprocessor">    #ifdef SBN_SEND_TASK</span></div><div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div><div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;    uint32 SendTaskID, SendMutex; <span class="comment">/* for star nets */</span></div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="preprocessor">    #endif </span><span class="comment">/* SBN_SEND_TASK */</span><span class="preprocessor"></span></div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;</div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="preprocessor">    #ifdef SBN_RECV_TASK</span></div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;</div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;    uint32 RecvTaskID; <span class="comment">/* for star nets */</span></div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="preprocessor">    #endif </span><span class="comment">/* SBN_RECV_TASK */</span><span class="preprocessor"></span></div><div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;    SBN_IfOps_t *IfOps; <span class="comment">/* convenience */</span></div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    uint16 PeerCnt;</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;    <a class="code" href="structSBN__PeerInterface__t.html">SBN_PeerInterface_t</a> Peers[SBN_MAX_PEER_CNT];</div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div><div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="structSBN__NetInterface__s.html#a3f4a2dad2d6c2911589afea2aa3af8ed">  170</a></span>&#160;    uint8  ModulePvt[128];</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;};</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;</div><div class="line"><a name="l00178"></a><span class="lineno"><a class="line" href="structSBN__IfOps__s.html">  178</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structSBN__IfOps__s.html">SBN_IfOps_s</a> {</div><div class="line"><a name="l00180"></a><span class="lineno"><a class="line" href="structSBN__IfOps__s.html#a29f25cd00726b163e553836ae9511e92">  180</a></span>&#160;    int (*InitModule)(<span class="keywordtype">int</span> MajorVersion, <span class="keywordtype">int</span> MinorVersion, <span class="keywordtype">int</span> Revision);</div><div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;</div><div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="structSBN__IfOps__s.html#a86f021f0509632ecdd114b3ce7b87531">  183</a></span>&#160;    int (*LoadNet)(SBN_NetInterface_t *Net, <span class="keyword">const</span> <span class="keywordtype">char</span> *Address);</div><div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="structSBN__IfOps__s.html#a698f887aa5297bd3a70e4b963d2143ab">  185</a></span>&#160;    int (*LoadPeer)(<a class="code" href="structSBN__PeerInterface__t.html">SBN_PeerInterface_t</a> *Peer, <span class="keyword">const</span> <span class="keywordtype">char</span> *Address);</div><div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;</div><div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="structSBN__IfOps__s.html#a1bf5f0334642cfb58c6504f3c8c6c8b9">  194</a></span>&#160;    int (*InitNet)(SBN_NetInterface_t *Host);</div><div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;</div><div class="line"><a name="l00203"></a><span class="lineno"><a class="line" href="structSBN__IfOps__s.html#ae190e3a8399c6b99f85ca64edbc217cc">  203</a></span>&#160;    int (*InitPeer)(<a class="code" href="structSBN__PeerInterface__t.html">SBN_PeerInterface_t</a> *Peer);</div><div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;</div><div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="structSBN__IfOps__s.html#a43e9d15f27271b0c97b16042eb581db6">  214</a></span>&#160;    int (*PollPeer)(<a class="code" href="structSBN__PeerInterface__t.html">SBN_PeerInterface_t</a> *Peer);</div><div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;</div><div class="line"><a name="l00231"></a><span class="lineno"><a class="line" href="structSBN__IfOps__s.html#a0cddb5f00185e999b749f0fdd2319736">  231</a></span>&#160;    int (*Send)(<a class="code" href="structSBN__PeerInterface__t.html">SBN_PeerInterface_t</a> *Peer, SBN_MsgType_t MsgType,</div><div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        SBN_MsgSz_t MsgSz, <span class="keywordtype">void</span> *Payload);</div><div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;</div><div class="line"><a name="l00248"></a><span class="lineno"><a class="line" href="structSBN__IfOps__s.html#a69e039e3bc0b78ea304a03f7e85797fe">  248</a></span>&#160;    int (*RecvFromPeer)(SBN_NetInterface_t *Net, <a class="code" href="structSBN__PeerInterface__t.html">SBN_PeerInterface_t</a> *Peer,</div><div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;        SBN_MsgType_t *MsgTypePtr, SBN_MsgSz_t *MsgSzPtr,</div><div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;        SBN_CpuID_t *CpuIDPtr, <span class="keywordtype">void</span> *PayloadBuffer);</div><div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;</div><div class="line"><a name="l00264"></a><span class="lineno"><a class="line" href="structSBN__IfOps__s.html#a3800e3766667e4959ee3130c6f204742">  264</a></span>&#160;    int (*RecvFromNet)(SBN_NetInterface_t *Net, SBN_MsgType_t *MsgTypePtr,</div><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;        SBN_MsgSz_t *MsgSzPtr, SBN_CpuID_t *CpuIDPtr,</div><div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;        <span class="keywordtype">void</span> *PayloadBuffer);</div><div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;</div><div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="structSBN__IfOps__s.html#a48984e5949a6e18a6bb3786cd0020638">  282</a></span>&#160;    int (*ReportModuleStatus)(<a class="code" href="structSBN__ModuleStatusPacket__t.html">SBN_ModuleStatusPacket_t</a> *Buffer);</div><div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;</div><div class="line"><a name="l00296"></a><span class="lineno"><a class="line" href="structSBN__IfOps__s.html#a4f7347664b333b2ce2588c488fe94fae">  296</a></span>&#160;    int (*UnloadNet)(SBN_NetInterface_t *Net);</div><div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;</div><div class="line"><a name="l00310"></a><span class="lineno"><a class="line" href="structSBN__IfOps__s.html#a3ad5ec49fb1eb66b9879e74d86e92880">  310</a></span>&#160;    int (*UnloadPeer)(<a class="code" href="structSBN__PeerInterface__t.html">SBN_PeerInterface_t</a> *Peer);</div><div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;};</div><div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;</div><div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;uint32 SBN_Connected(<a class="code" href="structSBN__PeerInterface__t.html">SBN_PeerInterface_t</a> *Peer);</div><div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;</div><div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;uint32 SBN_Disconnected(<a class="code" href="structSBN__PeerInterface__t.html">SBN_PeerInterface_t</a> *Peer);</div><div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;</div><div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;<span class="keywordtype">int</span> SBN_SendNetMsg(SBN_MsgType_t MsgType, SBN_MsgSz_t MsgSz,</div><div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;    <span class="keywordtype">void</span> *Msg, <a class="code" href="structSBN__PeerInterface__t.html">SBN_PeerInterface_t</a> *Peer);</div><div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;</div><div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* _sbn_interfaces_h_ */</span><span class="preprocessor"></span></div><div class="ttc" id="structSBN__PeerInterface__t_html_a2212f5f66c97f44a95d1b9d7bc9f6485"><div class="ttname"><a href="structSBN__PeerInterface__t.html#a2212f5f66c97f44a95d1b9d7bc9f6485">SBN_PeerInterface_t::SendTaskID</a></div><div class="ttdeci">uint32 SendTaskID</div><div class="ttdoc">The ID of the task created to pend on the pipe and send messages to the net as soon as they are read...</div><div class="ttdef"><b>Definition:</b> sbn_interfaces.h:91</div></div>
<div class="ttc" id="structSBN__PeerInterface__t_html_a8c03ea6acda26a0d8b8a3e8dd3467d8c"><div class="ttname"><a href="structSBN__PeerInterface__t.html#a8c03ea6acda26a0d8b8a3e8dd3467d8c">SBN_PeerInterface_t::SpacecraftID</a></div><div class="ttdeci">uint32 SpacecraftID</div><div class="ttdoc">The Spacecraft ID of this peer (MUST match the SpacecraftID.) </div><div class="ttdef"><b>Definition:</b> sbn_interfaces.h:80</div></div>
<div class="ttc" id="structSBN__NetInterface__s_html"><div class="ttname"><a href="structSBN__NetInterface__s.html">SBN_NetInterface_s</a></div><div class="ttdef"><b>Definition:</b> sbn_interfaces.h:146</div></div>
<div class="ttc" id="structSBN__ModuleStatusPacket__t_html"><div class="ttname"><a href="structSBN__ModuleStatusPacket__t.html">SBN_ModuleStatusPacket_t</a></div><div class="ttdoc">Module status response packet structure. </div><div class="ttdef"><b>Definition:</b> sbn_msg.h:52</div></div>
<div class="ttc" id="structSBN__PeerInterface__t_html_a4bdc506f968e6e75e0b41091729b61ff"><div class="ttname"><a href="structSBN__PeerInterface__t.html#a4bdc506f968e6e75e0b41091729b61ff">SBN_PeerInterface_t::Pipe</a></div><div class="ttdeci">CFE_SB_PipeId_t Pipe</div><div class="ttdoc">The pipe ID used to read messages destined for the peer. </div><div class="ttdef"><b>Definition:</b> sbn_interfaces.h:106</div></div>
<div class="ttc" id="structSBN__IfOps__s_html"><div class="ttname"><a href="structSBN__IfOps__s.html">SBN_IfOps_s</a></div><div class="ttdef"><b>Definition:</b> sbn_interfaces.h:178</div></div>
<div class="ttc" id="structSBN__PeerInterface__t_html_a5b1f8e3f53c59cd24347779b62c0e8e8"><div class="ttname"><a href="structSBN__PeerInterface__t.html#a5b1f8e3f53c59cd24347779b62c0e8e8">SBN_PeerInterface_t::ProcessorID</a></div><div class="ttdeci">uint32 ProcessorID</div><div class="ttdoc">The processor ID of this peer (MUST match the ProcessorID.) </div><div class="ttdef"><b>Definition:</b> sbn_interfaces.h:77</div></div>
<div class="ttc" id="structSBN__Subs__t_html"><div class="ttname"><a href="structSBN__Subs__t.html">SBN_Subs_t</a></div><div class="ttdef"><b>Definition:</b> sbn_interfaces.h:13</div></div>
<div class="ttc" id="structSBN__PeerInterface__t_html_a0b4895a7af09ab45e90fd5fa65eef30f"><div class="ttname"><a href="structSBN__PeerInterface__t.html#a0b4895a7af09ab45e90fd5fa65eef30f">SBN_PeerInterface_t::Connected</a></div><div class="ttdeci">uint8 Connected</div><div class="ttdoc">0 = peer not conn, !0 == peer is connected </div><div class="ttdef"><b>Definition:</b> sbn_interfaces.h:122</div></div>
<div class="ttc" id="structSBN__PeerInterface__t_html_af6f8ae7e1240137ca46e5c6a792639c2"><div class="ttname"><a href="structSBN__PeerInterface__t.html#af6f8ae7e1240137ca46e5c6a792639c2">SBN_PeerInterface_t::Net</a></div><div class="ttdeci">SBN_NetInterface_t * Net</div><div class="ttdoc">A convenience pointer to the net that this peer belongs to. </div><div class="ttdef"><b>Definition:</b> sbn_interfaces.h:83</div></div>
<div class="ttc" id="structSBN__PeerInterface__t_html"><div class="ttname"><a href="structSBN__PeerInterface__t.html">SBN_PeerInterface_t</a></div><div class="ttdef"><b>Definition:</b> sbn_interfaces.h:75</div></div>
<div class="ttc" id="structSBN__PeerInterface__t_html_abd6331dad5bc0adb4df64e0418cc96d7"><div class="ttname"><a href="structSBN__PeerInterface__t.html#abd6331dad5bc0adb4df64e0418cc96d7">SBN_PeerInterface_t::RecvTaskID</a></div><div class="ttdeci">uint32 RecvTaskID</div><div class="ttdoc">The ID of the task created to pend on the net and send messages to the software bus as soon as they a...</div><div class="ttdef"><b>Definition:</b> sbn_interfaces.h:101</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
